package com.example.growthmuseum.data.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Created by Jacob on 2016/10/29.
 */

public class Goods {

    /**
     *  物品id
     */
    private Integer id;

    /**
     *  用户id
     */
    private Integer userId;

    /**
     *  物品名称
     */
    private String goodsName;

    /**
     *  物品照片
     */
    private String goodsPic;

    /**
     *  物品简介
     */
    private String goodsInfo;

    /**
     *  物品状态  0:已发布 1：已寄件（在路上） 2：已收到（在博物馆）
     */
    private Integer goodsStatus;

    /**
     *  物品捐赠状态 0：未捐 1：已捐
     */
    private Integer donate;

    /**
     *  物品捐赠信息
     */
    private String donateInfo;

    /**
     *  物品发布时间
     */
    @JSONField(format = "yyyy-MM-dd")
    private String createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPic() {
        return goodsPic;
    }

    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic;
    }

    public String getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Integer getDonate() {
        return donate;
    }

    public void setDonate(Integer donate) {
        this.donate = donate;
    }

    public String getDonateInfo() {
        return donateInfo;
    }

    public void setDonateInfo(String donateInfo) {
        this.donateInfo = donateInfo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}

